package cn.school.student.service;

import cn.school.student.vo.ExamListVO;
import cn.school.student.vo.ExamVO;
import cn.school.student.vo.ResultTableVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ExamListService {

    IPage<ExamListVO> findExamInfoPageList(ExamListVO vo);

    int deleteExamListById(String id);

    int addOrUpdateExamList(ExamListVO vo);

    Boolean importExcel(MultipartFile file, ResultTableVO vo) throws Exception;

    boolean addExamResult(ResultTableVO vo);

    ResultTableVO searchResult(String examId);

    boolean updateExamResult(ResultTableVO vo);

    List<ExamVO> searchResultById(String userId);
}
